﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PlayerTest.Player.Event
{
    public class SectionItemEventArgs
    {
        public enum eventtype { REPEAT, RECORDSTART, RECORDEND };
        private String message;
        private double start;
        private double end;
        private eventtype event_type;

        public SectionItemEventArgs(eventtype type)
        {
            this.event_type = type;
            message = "";
        }

        public String Message
        {
            get { return message; }
            set { message = value; }
        }
        public double Start
        {
            get { return start; }
            set { start = value; }
        }
        public double End
        {
            get { return end; }
            set { end = value; }
        }
        public eventtype EventType
        {
            get { return event_type; }
            set { event_type = value; }
        }
    }

    public delegate void SectionItemEventHandler(object sender, SectionItemEventArgs e);
}
